
            <hr class="clearfix"/>

            <footer class="footer">
                <nav>
                    <ul class="nav-block text-center">
                        <li><a href="<?php echo $CFG->config['base_url']?>mention-legal.html">Infos légales</a></li>
                        <li><a href="<?php echo $CFG->config['base_url']?>qui-sommes-nous.html">Qui sommes-nous ?</a></li>
                        <li><a href="<?php echo $CFG->config['base_url']?>contact.html">Contact</a></li>
                        <li><a href="<?php echo $CFG->config['base_url']?>publicite.html">Publicité</a></li>
                        <li><a href="<?php echo $CFG->config['base_url']?>regles.html">Règles de diffusion</a></li>
                        <li><a href="<?php echo $CFG->config['base_url']?>condtions.html">Conditions Générales</a></li>
                        <li><a href="javascript:addBookmark('<?php echo $CFG->config['base_url']?>')">Ajouter le site à mes favoris</a></li>
                    </ul>
                </nav>
                <p  class="text-center">
                Sur le site caverne.fr, passez des annonces gratuites. Consulter des petites annonces de particuliers et de professionnels partout en France. 
                </p>
                <p class="text-center">www.caverne.fr - Tous droits réservés - 20013</p>
            </footer>
<?php 
	if(isset($_COOKIE['ci_session'])) $sse=unserialize($_COOKIE['ci_session']);
	if(isset($sse['session_id'])) echo "<input id='sid' value='{$sse['session_id']}' type='hidden'/>";
?>
        </div> <!-- /container -->

        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
        <script>window.jQuery || document.write('<script src="<?php echo $url_template?>js/vendor/jquery-1.9.1.js"><\/script>')</script>
		<script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
        
		<script src="<?php echo $url_template?>js/vendor/wysihtml5-0.3.0.js"></script>
		<script src="<?php echo $url_template?>js/vendor/prettify.js"></script>		
		<script src="<?php echo $url_template?>js/vendor/bootstrap-wysihtml5.js"></script>

		
		<link href="<?php echo $url_template?>css/upload.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<?php echo $url_template?>js/upload.js"></script>
		
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
		<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/themes/smoothness/jquery-ui.css" />
				
        <script src="<?php echo $url_template?>js/plugins.js"></script>
        <script src="<?php echo $url_template?>js/main.js"></script>
        <script type="text/javascript">
		<!--
		
		//navigator bar search code postal

			$('.search_cp').keyup(function(){
				if($(this).val().length==2){
					$.post("<?php echo $CFG->config['base_url']?>annonce/gerer/ajax_ville",{ departement: $(this).val()}).done(
							   function(data){
								   $("#search_cp").html(data);
							   }); 
					
				}
			});
		//-->
			
			function showLocalisation($id,$value){
				$.post("<?php echo $CFG->config['base_url']?>localisation/index", {name:$id, id:$value } ).
					done(function($data) {
						$('#'+$id).html($data);
						if($id=='ville'){
							 $('#code_postal').val($value);
							 $('#villeList').html($data);
						}
					});
			}
		
			$('.textarea').wysihtml5();
			$('.deposer-category').change(function(){
				  
				$.post("<?php echo $CFG->config['base_url']?>setting/option/getOptions", {idOption:$(this).val()} ).
					done(function($data) {
						$('#pagePostOption').show('slow');
						$('#pagePostOption').html($data);
						
					});

				<?php if(isset($not_showPrice) and is_array($not_showPrice)) echo "
	            		var not_showPrice = [".implode(',',$not_showPrice).'];
	                '?> 
					if($.inArray(parseInt($(this).val()), not_showPrice )>-1){
						$("#showPrice").hide();
					}else $("#showPrice").show();
	                    
			});
			
			$('#code_postal').keyup(function(){
				if($(this).val().length==2){
					$.post("<?php echo $CFG->config['base_url']?>annonce/gerer/ajax_departement",{ departement: $(this).val()}).done(
							   function(data){
								   $("#location #annonce_departement").html(data);
							   });

					$.post("<?php echo $CFG->config['base_url']?>annonce/gerer/ajax_ville",{ departement: $(this).val()}).done(
							   function(data){
								   $("#location #villeList").html(data);
							   });
					if( $('#Region').length ) { 
						$.post("<?php echo $CFG->config['base_url']?>annonce/gerer/ajax_region", {departement:$(this).val()} ).
						done(function($data) {
							$('#location #Region').html($data);
						});
					}
					
				}
			});
			$('#code_postal').change(function(){
				if($(this).val().substring(0,2)!=$("#location #annonce_departement").val()){
					$.post("<?php echo $CFG->config['base_url']?>annonce/gerer/ajax_departement",{ departement: $(this).val().substring(0,2)}).done(
							   function(data){
								   $("#location #annonce_departement").html(data);
							   });
					if( $('#Region').length ) { 
						$.post("<?php echo $CFG->config['base_url']?>annonce/gerer/ajax_region", {departement:$(this).val().substring(0,2)} ).
						done(function($data) {
							$('#location #Region').html($data);
						});
					}
				}
			});
			$html5Uploader.postUrl="<?php echo $CFG->config['base_url']?>upload/photo";
			$html5Uploader.name=$("#Titre").val();
			$('#boutique-creer-presentation #Logo,#fileUpload').click(function() {
				$('#boutique-creer-presentation #zonephoto').html('');
				$html5Uploader.name=$("#Titre").val();
				jQuery("#fileUpload,#boutique-creer-presentation #Logo").html5Uploader($html5Uploader);
			});
			
			jQuery("#zonephoto").html5Uploader($html5Uploader);
			
			function delPhoto($thisJquery,$idPhoto,$photo){
				$input='<input name="delPhoto['+$idPhoto+']" value="'+$photo+'"/>';
				$thisJquery.html($input);
				$thisJquery.parent().hide();
			
			}
		</script>
		
    </body>
</html>